package com.bdzl.biz.service.impl;

import com.bdzl.biz.servicefeign.AuthUserFeignSrevice;
import com.bdzl.pub.entity.sys.UserDO;
import com.bdzl.pub.util.param.PageUtils;
import com.bdzl.pub.vo.loan.BizAreaVO;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.biz.dao.BizAreaDao;
import com.bdzl.pub.entity.loan.BizAreaDO;
import com.bdzl.biz.service.BizAreaService;



@Service
public class BizAreaServiceImpl implements BizAreaService {
	@Autowired
	private BizAreaDao bizAreaDao;
	@Autowired
	private AuthUserFeignSrevice authUserFeignSrevice;

	@Override
	public BizAreaDO get(Integer baId){
		return bizAreaDao.get(baId);
	}

	@Override
	public List<BizAreaDO> list(Map<String, Object> map){
		return bizAreaDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return bizAreaDao.count(map);
	}

	@Override
	public int save(BizAreaDO bizArea){
		return bizAreaDao.save(bizArea);
	}

	@Override
	public int update(BizAreaDO bizArea){
		return bizAreaDao.update(bizArea);
	}

	@Override
	public int remove(Integer baId){
		return bizAreaDao.remove(baId);
	}

	@Override
	public int batchRemove(Integer[] baIds){
		return bizAreaDao.batchRemove(baIds);
	}

	@Override
	public List<BizAreaVO> listAll(Map<String, Object> map) {
		return bizAreaDao.listAll(map);
	}

	@Override
	public PageUtils userList(Map map) {
		return authUserFeignSrevice.list(map);
	}

	@Override
	public BizAreaVO getAll(Integer baId) {
		return bizAreaDao.getAll(baId);
	}
}
